package com.zhm.demo.mysql.pre.mapper;

import com.zhm.demo.mysql.entity.IotModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 模块表 Mapper 接口
 * </p>
 *
 * @author bell
 * @since 2024-04-18
 */
@Mapper
public interface PreIotModelMapper {

    List<IotModel> list();

    @Select("select * from iot_model;")
    List<IotModel> listAll();

}
